package cn.com.nes.site.controller.contract.vo;

import cn.com.nes.site.entity.vo.BaseVO;
import cn.com.nes.site.service.contract.bo.ContractTypeQueryBO;
import lombok.Data;
import org.springframework.beans.BeanUtils;

@Data
public class ContractTypeQueryVO extends BaseVO {

    private Integer typeCode;

    private String typeName;


    public ContractTypeQueryBO convertToBo() {
        ContractTypeQueryBO bo = new ContractTypeQueryBO();
        BeanUtils.copyProperties(this, bo);
        return bo;
    }
}
